package com.laf.model;

import java.util.Date;

public class Leave {

  private String leaveId;
  private String userId;
  private String noticeId;
  private String content;
  private Date leaveTime;
  private Userinfo userinfo;

  public Leave() {

  }


  public Leave(String leaveId, String userId, String noticeId, String content, Date leaveTime, Userinfo userinfo) {
    this.leaveId = leaveId;
    this.userId = userId;
    this.noticeId = noticeId;
    this.content = content;
    this.leaveTime = leaveTime;
    this.userinfo = userinfo;
  }

  @Override
  public String toString() {
    return "Leave{" +
            "leaveId='" + leaveId + '\'' +
            ", userId='" + userId + '\'' +
            ", noticeId='" + noticeId + '\'' +
            ", content='" + content + '\'' +
            ", leaveTime=" + leaveTime +
            ", userinfo=" + userinfo +
            '}';
  }

  public Date getLeaveTime() {
    return leaveTime;
  }

  public void setLeaveTime(Date leaveTime) {
    this.leaveTime = leaveTime;
  }

  public Userinfo getUserinfo() {
    return userinfo;
  }

  public void setUserinfo(Userinfo userinfo) {
    this.userinfo = userinfo;
  }

  public String getLeaveId() {
    return leaveId;
  }

  public void setLeaveId(String leaveId) {
    this.leaveId = leaveId;
  }


  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }


  public String getNoticeId() {
    return noticeId;
  }

  public void setNoticeId(String noticeId) {
    this.noticeId = noticeId;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

}
